<template>
  <!-- 歌手的主页面 -- 第一次跳转的页面 -->
  <div class="singers-home">
    <!-- 部分入驻歌手 -->
    <div class="settled">
      <div class="title">
        <span>入驻歌手</span>
        <span>更多 ></span>
      </div>
      <!-- 内容 -->
      <div class="content">
        <singer v-for="(i, index) in 10" :key="index"></singer>
      </div>
    </div>
    <!-- 热门歌手 -->
    <div class="hot">
      <div class="title">
        <span>热门歌手</span>
      </div>
      <div class="content">
        <singer v-for="(i, index) in 10" :key="index"></singer>
      </div>
    </div>
    <!-- 歌手列表 -->
    <div class="line"></div>
    <ul class="singer-list">
      <li v-for="(i, index) in 90" :key="index">
        <span>房东的猫</span>
        <i></i>
      </li>
    </ul>
  </div>
</template>

<script>
// 歌手单元格
import singer from '@/components/find-music-components/singers/singer'
export default {
  name: "singers-home",
  components:{singer}
};
</script>

<style lang="scss" scoped>
.singers-home {
  .title {
    width: 100%;
    line-height: 40px;
    border-bottom: 2px solid #c20c0c;
    display: flex;
    justify-content: space-between;
    span:nth-child(1) {
      color: #333;
      font-size: 24px;
    }
    span:nth-child(2) {
      color: #666;
      font-size: 12px;
      &:hover {
        text-decoration: underline;
      }
    }
  }
  .hot .title {
    margin-top: 10px;
  }
  .content {
    height: 350px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-around;
  }
  .line {
    width: 100%;
    border-top: 1px dotted #999;
    margin: 20px 0 10px 0;
  }
  .singer-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    li {
      width: 130px;
      font-size: 12px;
      margin: 5px 0;
      span {
        line-height: 24px;
        margin-right: 3px;
        cursor: pointer;
        &:hover {
          text-decoration: underline;
        }
      }
      i {
        display: inline-block;
        width: 17px;
        height: 18px;
        vertical-align: middle;
        cursor: pointer;
        background: url("@/assets/icon.png") no-repeat;
        background-position: 0 -739px;
      }
    }
  }
}
</style>